package login

import (
	"github.com/zachary/tbox/internal/svc"
	"github.com/zeromicro/go-zero/rest"
	"net/http"
)

func GetNoAuthRoutes(serverCtx *svc.ServiceContext) []rest.Route {
	return []rest.Route{
		{
			Method:  http.MethodPost,
			Path:    "/token/",
			Handler: TempUpLoginHandler(serverCtx),
		},
	}
}

func AuthRoutes(serverCtx *svc.ServiceContext) []rest.Route {
	return []rest.Route{}
}
